home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / INTERNET / SITES / GRAHAM / XA_6S.ZIP / SOURCE / XA_CODES.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-09  |  2.1 KB  |  99 lines

  1. /*
  2.  * XaAES - XaAES Ain't the AES
  3.  *
  4.  * A multitasking AES replacement for MiNT
  5.  *
  6.  */
  7.  
  8. /*
  9.     AES OP-Code definitions
  10. */
  11.  
  12. #ifndef _XA_CODES_H_
  13. #define _XA_CODES_H_
  14.  
  15. /* Standard GEM AES op-codes */
  16.  
  17. #define XA_APPL_INIT    10
  18. #define XA_APPL_WRITE    12
  19. #define XA_APPL_FIND    13
  20. #define XA_APPL_SEARCH    18
  21. #define XA_APPL_EXIT    19
  22. #define XA_APPL_GETINFO    130
  23.  
  24. #define XA_EVNT_KEYBD    20
  25. #define XA_EVNT_BUTTON    21
  26. #define XA_EVNT_MESAG    23
  27. #define XA_EVNT_TIMER    24
  28. #define XA_EVNT_MULTI    25
  29.  
  30. #define XA_MENU_BAR        30
  31. #define XA_MENU_ICHECK    31
  32. #define XA_MENU_IENABLE    32
  33. #define XA_MENU_TNORMAL    33
  34. #define XA_MENU_TEXT    34
  35. #define XA_MENU_REGISTER    35
  36.  
  37. #define XA_OBJC_DRAW    42
  38. #define XA_OBJC_FIND    43
  39. #define XA_OBJC_OFFSET    44
  40. #define XA_OBJC_EDIT    46
  41. #define XA_OBJC_CHANGE    47
  42.  
  43. #define XA_FORM_DO        50
  44. #define XA_FORM_DIAL    51
  45. #define XA_FORM_ALERT    52
  46. #define XA_FORM_ERROR    53
  47. #define XA_FORM_CENTER    54
  48. #define XA_FORM_KEYBD    55
  49. #define XA_FORM_BUTTON    56
  50.  
  51. #define XA_GRAF_RUBBERBOX    70
  52. #define XA_GRAF_DRAGBOX    71
  53. #define XA_GRAF_MOVEBOX    72
  54. #define XA_GRAF_GROWBOX    73
  55. #define XA_GRAF_SHRINKBOX    74
  56. #define XA_GRAF_WATCHBOX    75
  57. #define XA_GRAF_HANDLE    77
  58. #define XA_GRAF_MOUSE    78
  59. #define XA_GRAF_MKSTATE    79
  60.  
  61. #define XA_SCRAP_READ    80
  62. #define XA_SCRAP_WRITE    81
  63.  
  64. #define XA_FSEL_INPUT    90
  65. #define XA_FSEL_EXINPUT    91
  66.  
  67. #define XA_WIND_CREATE    100
  68. #define XA_WIND_OPEN    101
  69. #define XA_WIND_CLOSE    102
  70. #define XA_WIND_GET        104
  71. #define XA_WIND_DELETE    103
  72. #define XA_WIND_SET        105
  73. #define XA_WIND_FIND    106
  74. #define XA_WIND_UPDATE    107
  75. #define XA_WIND_CALC    108
  76. #define XA_WIND_NEW        109
  77.  
  78. #define XA_RSRC_LOAD    110
  79. #define XA_RSRC_FREE    111
  80. #define XA_RSRC_GADDR    112
  81. #define XA_RSRC_OBFIX    114
  82.  
  83. #define XA_SHELL_READ    120
  84. #define XA_SHELL_WRITE    121
  85. #define XA_SHELL_FIND    124
  86. #define XA_SHELL_ENVRN    125
  87.  
  88. /* XaAES specific extended op-codes */
  89. /* (these all start at 250, well out of the way of standard AES calls) */
  90. #define XA_BUTTON_CLICK    250
  91. #define XA_NEW_CLIENT    251
  92. #define XA_CLIENT_EXIT    252
  93. #define XA_SHUTDOWN        253
  94.  
  95. #define XA_OBJC_SETSCROLL    254
  96.  
  97. #define XA_APPL_PIPE    260
  98.  
  99. #endif